package com.itcast.springboot.service;

import com.itcast.springboot.bean.Admin;
import com.itcast.springboot.bean.CommonResult;

public interface AdminService {
    //查
    public Admin getAdminByAcc(String account);

    //判断账号密码是否正确
    public CommonResult getAdminState(String account, String password);

    //改
    public Integer updatePassword(String account, String password);
}
